package com.lzh.dlykserver.service;

import com.github.pagehelper.PageInfo;
import com.lzh.dlykserver.entity.TDicType;
import com.lzh.dlykserver.query.DicTypeDTO;

import java.util.List;

public interface DicTypeService {
    List<TDicType> loadAllDicData();

    PageInfo<TDicType> getDicTypes(Integer current, DicTypeDTO dicTypeDTO);

    TDicType getDicTypeById(Integer id);

    int deleteDicTypeById(Integer id);

    int updateDicType(TDicType dicType);

    int addDicType(TDicType dicType);

    int batchDeleteDicType(List<String> idList);
}
